package com.punch.common.query.order;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.punch.common.query.QueryInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaol
 * @date 2020/7/29 23:16
 */
@Data
@ApiModel("学生条件查询")
public class OrderQueryInfo extends QueryInfo {

    @ApiModelProperty("家长id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createId;

    /**
     * {@link com.punch.common.enums.order.OrderStatusEnum}
     */
    @ApiModelProperty("订单状态 0待付款 1待开班 2已开班 3已退款 4已取消 ")
    private Integer orderStatus;

    private String orderNo;

    private String outTradeNo;
}
